package com.engine4cloud.tdf.supervision.dto.query;

import com.engine4cloud.tdf.common.data.web.response.Params;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 调查评估-调查
 *
 * @author wenjie
 * @date 2024-02-29 11:05:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "调查评估结果-请求对象")
public class DcpgEvaluateQueryDTO extends Params {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 调查评估编号
     */
    @Schema(description = "调查评估编号")
    @NotBlank(message = "调查评估编号不能为空")
    private String dcpgbh;

    public DcpgEvaluateQueryDTO(String code) {
        this.dcpgbh = code;
    }
}